import type { IObserver } from './observer'

export interface IPublish {
  add: (...observer: Array<IObserver>) => void
  remove: (observer: IObserver<any, any>) => this
}
